import ResManager from "../ResManager";

const {ccclass, property, requireComponent} = cc._decorator;

@ccclass
@requireComponent(cc.Label)
export default class CurrentLevelLabel extends cc.Component {
    start () {
        this.node.getComponent(cc.Label).string = (ResManager.currentLevelIndex + 1).toString();
    }

}
